package com.dsj.util;

public class CountTime {
    //将当前的日期时间格式化后返回
    public String getNowTime() {
        java.util.Date date = new java.util.Date();
        java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy年-MM月-dd日");
        return formatter.format(date);
    }
}
